# -*- coding: utf-8 -*-
#
# File: EvelntTreePortlet.py
#
# Copyright (c) 2009 by ngi644.net
# Generator: ArchGenXML Version 2.4.1
#            http://plone.org/products/archgenxml
#
# GNU General Public License (GPL)
#

__author__ = """Takashi NAGAI <nagai@ngi644.net>"""
__docformat__ = 'plaintext'

##code-section module-header #fill in your manual code here
##/code-section module-header


from zope.interface import implements

from plone.portlets.interfaces import IPortletDataProvider
from plone.app.portlets.portlets import base

from Products.CMFPlone import PloneMessageFactory as _

from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile

class IEvelntTreePortlet(IPortletDataProvider):
    """A portlet which renders the cart.
    """

class Assignment(base.Assignment):
    
    implements(IEvelntTreePortlet)
    
    title = _(u'EvelntTreePortlet')

    ##code-section assignment-body #fill in your manual code here
    ##/code-section assignment-body



class Renderer(base.Renderer):
    
    render = ViewPageTemplateFile('templates/EvelntTreePortlet.pt')

    ##code-section renderer-body #fill in your manual code here
    ##/code-section renderer-body



class AddForm(base.NullAddForm):

    def create(self):
        return Assignment()

    ##code-section addform-body #fill in your manual code here
    ##/code-section addform-body


##code-section module-footer #fill in your manual code here
##/code-section module-footer


